package model;

public class IntervaloConfianca {
	
	private Double limiteInferior;
	private Double limiteSuperior;

	public IntervaloConfianca(Double limiteInferior, Double limiteSuperior) {
		this.limiteInferior = limiteInferior;
		this.limiteSuperior = limiteSuperior;
	}

	public Double getLimiteInferior() {
		return limiteInferior;
	}

	public Double getLimiteSuperior() {
		return limiteSuperior;
	}

	public void setLimiteInferior(Double limiteInferior) {
		this.limiteInferior = limiteInferior;
	}

	public void setLimiteSuperior(Double limiteSuperior) {
		this.limiteSuperior = limiteSuperior;
	}

	@Override
	public String toString() {
		return "(" + limiteInferior + ", " + limiteSuperior + ")";
	}
	
}
